package com.hst.web.base.ui;

import java.math.BigDecimal;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EAuth;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TContractorInfo;
import com.hst.web.base.proxy.ContractorProxy;

@EAuth(value = "20001", create = "2000101", edit="2000102",del="2000103",exp="2000104")
@EInfo(name = "contractor-info", title = "承包商管理", entity = TContractorInfo.class, proxy = ContractorProxy.class)
public class ContractorInfo extends MetaData {

	@EField(title = "承包商编号", list = false, form = 0)
	private String contractorCode;
	
	@EField(title = "企业",mapped=false,query = FieldQuery.EQ, validate = "required",form=3,role="9",editor="select.company-all",viewer="dict.company-all")
	private String companyCode;

	@EField(title = "承包商名称", query = FieldQuery.LIKE, validate = "required",role="9")
	private String contractorName;
	
	@EField(title = "承包商名称",mapped=false, query = FieldQuery.LIKE, validate = "required",role="2")
	private String contractorAlisa;

	@EField(title = "社会信用代码",validate = "required",query = FieldQuery.LIKE)
	private String creditCode;

	@EField(title = "地址")
	private String address;

	@EField(title = "累积扣分", form = 0, list = false)
	private BigDecimal totalscore;

	@EField(title = "问题数量", form = 0, list = false)
	private BigDecimal problemNum;

	@EField(title = "确认位", editor = "select.confirmflag", viewer = "dict.confirmflag", validate = "required", form = 0, list = false)
	private String confirmflag;

	@EField(group = "附件" ,mapped=false, title = "合同首页照片", editor = "uploadImg.contractImg", list = false,role="2")
	private String contractImg;
	
	@EField(title = "合同有效期页照片",mapped=false, editor = "uploadImg.contractexpImg", list = false,role="2")
	private String contractexpImg;
	
	@EField(title = "合同盖章页照片",mapped=false, editor = "uploadImg.contractStampImg", list = false,role="2")
	private String contractStampImg;
	
	@EField( title = "单位运输证照片", editor = "uploadImg.transportCert", list = false)
	private String transportCert;
	
	@EField(title = "车辆道路运输证照片", editor = "uploadImg.vrdtransportImg", list = false)
	private String vrdtransportImg;

	public String getContractexpImg() {
		return contractexpImg;
	}

	public void setContractexpImg(String contractexpImg) {
		this.contractexpImg = contractexpImg;
	}

	public String getContractImg() {
		return contractImg;
	}

	public void setContractImg(String contractImg) {
		this.contractImg = contractImg;
	}

	public String getContractStampImg() {
		return contractStampImg;
	}

	public void setContractStampImg(String contractStampImg) {
		this.contractStampImg = contractStampImg;
	}

	public String getVrdtransportImg() {
		return vrdtransportImg;
	}

	public void setVrdtransportImg(String vrdtransportImg) {
		this.vrdtransportImg = vrdtransportImg;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getContractorAlisa() {
		return contractorAlisa;
	}

	public void setContractorAlisa(String contractorAlisa) {
		this.contractorAlisa = contractorAlisa;
	}

	public String getContractorCode() {
		return contractorCode;
	}

	public void setContractorCode(String contractorCode) {
		this.contractorCode = contractorCode;
	}

	public String getContractorName() {
		return contractorName;
	}

	public void setContractorName(String contractorName) {
		this.contractorName = contractorName;
	}

	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTransportCert() {
		return transportCert;
	}

	public void setTransportCert(String transportCert) {
		this.transportCert = transportCert;
	}

	public BigDecimal getTotalscore() {
		return totalscore;
	}

	public void setTotalscore(BigDecimal totalscore) {
		this.totalscore = totalscore;
	}

	public BigDecimal getProblemNum() {
		return problemNum;
	}

	public void setProblemNum(BigDecimal problemNum) {
		this.problemNum = problemNum;
	}

	public String getConfirmflag() {
		return confirmflag;
	}

	public void setConfirmflag(String confirmflag) {
		this.confirmflag = confirmflag;
	}
}
